Auto merge of #1705 - alexcrichton:fix-test-non-root-package, r=brson
authorbors <bors@rust-lang.org>
Fri, 12 Jun 2015 00:18:15 +0000 (00:18 +0000)
committerbors <bors@rust-lang.org>
Fri, 12 Jun 2015 00:18:15 +0000 (00:18 +0000)
commitae8b752b4e5bc2bcebd97dc1d5995e951848bd70
tree296b00742833b7970818c5cc82db6900cdbebaf7
parente26072e5a52b63f680ce9504f2a91b8296e76ccf
parentb3e2ac03d2fca92704cba51bb638a348b607f060
Auto merge of #1705 - alexcrichton:fix-test-non-root-package, r=brson

The previous overhaul of how dependencies among build dependencies were
traversed ended up picking the wrong root package when the `-p` argument was
specified to commands. This commit fixes this up by making sure the right root
package is passed along.